package cn.wolfcode.trip.base.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Getter
@Setter
public class TravelCommentRe extends BaseDomain {

    public static final Integer UNREAD = 0; //未读
    public static final Integer READED = 1; //已读

    private User user;//当前评论用户

    @JsonFormat(pattern = "y-M-d hh:mm:ss", timezone="GMT+8")
    private Date createTime;//评论时间

    private String content;//评论内容

    private TravelComment travelComment;//被评论游记

    private Integer status;//状态 0未读  1已读


}